// 注册
import create from "../utils/request";
import qs from "qs"
// 验证码发送请求
export function auth(params) {
    return create({
        url: "user_info/sendMsg",
        method: "get",
        params: params
    })
}
// 传手机号 
export function yphone(data) {
    return create({
        url: "user_info/loginByPass",
        method: "post",
        data: qs.stringify(data)
    })
}
// 验证码接收请求
export function auth1(data) {
    return create({
        url: "user_info/checkCode",
        method: "post",
        data: qs.stringify(data)
    })
}